package cn.learn.server.jute;

import cn.learn.server.DataNode;

import java.io.IOException;

public interface InputArchive {
    void startRecord(String tag) throws IOException;

    int readInt(String magic) throws IOException;

    long readLong(String dbid) throws IOException;

    void endRecord(String tag) throws IOException;

    Index startVector(String tag) throws IOException;

    String readString(String path) throws IOException;

    void readRecord(DataNode node, String node1) throws IOException;

    byte[] readBuffer(String tag) throws IOException;
}
